import java.util.Scanner;
public class Fahrenheit {
    public static void main(String []args){

        //声明double型变量degF
        double degF;
        //声明doubl
        //e型变量degC
        double degC;
        Scanner in=new Scanner(System.in);
                System.out.print("请输入摄氏度：");
        degC=in.nextFloat();

        degF=9.0/5 *degC+ 32;

System.out.println("摄氏温度"+ degC+"度对应华氏温度为："+degF
        );
    }
}